@charset "UTF-8";
@keyframes wave {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: -20px;
  }
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(1turn);
  }
}
/**
 * 星星
 * @param {Length} $size - 大小
 * @param {Number} $points - 边数
 * @param {Number} $inset - 内缩比例
 * @param {Color} $fill - 填充色
 */
html {
  box-sizing: border-box;
}

* {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
*::before, *::after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  background-color: #ffd866;
}

.container {
  margin: auto;
  width: 18rem;
  height: 12.5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.container .frame {
  position: absolute;
}
.container .frame div {
  position: absolute;
  background: #e24624;
}
.container .frame .one {
  top: 6.3rem;
  left: 2.45rem;
  width: 6.25rem;
  height: 0.5rem;
  transform: rotate(-50deg);
}
.container .frame .two {
  top: 8.7rem;
  left: 3.3rem;
  width: 6rem;
  height: 0.5rem;
  border-radius: 1rem 0 0 1rem;
}
.container .frame .three {
  top: 5.5rem;
  left: 4.25rem;
  width: 7.5rem;
  height: 0.5rem;
  border-radius: 1rem;
  transform: rotate(72deg);
}
.container .frame .four {
  top: 4rem;
  left: 7.5rem;
  width: 5.5rem;
  height: 0.5rem;
}
.container .frame .five {
  top: 6.5rem;
  left: 8rem;
  width: 6rem;
  height: 0.5rem;
  transform: rotate(-50deg);
}
.container .frame .six {
  top: 4.7rem;
  left: 8.8rem;
  width: 8.8rem;
  height: 0.5rem;
  border-radius: 1rem;
  transform: rotate(72deg);
}
.container .frame .seat {
  top: 1.5rem;
  left: 5.25rem;
  width: 3rem;
  height: 1.25rem;
  background: #25262a;
  border-radius: 50% 100% 100% 50%/50% 60% 100% 100%;
}
.container .frame .pedal {
  top: 8.4rem;
  left: 8.6rem;
  width: 1rem;
  height: 1rem;
  background: transparent;
  border: 0.5rem solid #a59c85;
  border-radius: 50%;
  animation: wheelSpin 2s linear infinite;
}
.container .frame .pedal::before, .container .frame .pedal::after {
  position: absolute;
  content: "";
}
.container .frame .pedal::before {
  top: -0.15rem;
  left: -0.25rem;
  width: 0.5rem;
  height: 1.23rem;
  background-color: #fff;
  border-radius: 1rem 1rem 0 0;
}
.container .frame .pedal::after {
  top: 0.75rem;
  left: -0.5rem;
  width: 1rem;
  height: 0.5rem;
  background-color: #25262a;
  border-radius: 1rem;
  animation: pedalSpin 2s linear infinite;
}
.container .frame .handle {
  top: 0.5rem;
  left: 11.7rem;
  width: 1.5rem;
  height: 0.5rem;
  border-radius: 1rem;
  transform: rotate(-25deg);
}
.container .frame .handle::before {
  position: absolute;
  content: "";
  top: -0.35rem;
  left: 0.2rem;
  width: inherit;
  height: inherit;
  background-color: #25262a;
  border-radius: inherit;
  transform: rotate(45deg);
}
.container .wheel {
  position: absolute;
  z-index: -1;
}
.container .wheel .left,
.container .wheel .right {
  position: absolute;
  z-index: -1;
  top: 5.5rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  border: 0.5rem solid #25262a;
  box-shadow: inset 0 0 0 0.5rem #fff;
}
.container .wheel .left::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 2.5rem;
  left: 2.5rem;
  width: 1rem;
  height: 1rem;
  background: transparent;
  border-radius: 50%;
  border: 0.5rem solid #a59c85;
}
.container .wheel .left::before {
  position: absolute;
  content: "";
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 50%;
  border: 0.35rem solid #e24624;
  top: -1.3rem;
  left: -1.3rem;
  -webkit-clip-path: polygon(30% 0, 100% 0, 100% 50%, 30% 50%);
          clip-path: polygon(30% 0, 100% 0, 100% 50%, 30% 50%);
}
.container .wheel .right {
  left: 11rem;
}
.container .wheel .right::after {
  position: absolute;
  content: "";
  z-index: 1;
  top: 2.5rem;
  left: 2.5rem;
  width: 1rem;
  height: 1rem;
  background: transparent;
  border-radius: 50%;
  border: 0.5rem solid #a59c85;
}
.container .wheel .right::before {
  position: absolute;
  content: "";
  width: 1.3rem;
  height: 0.37rem;
  background: #e24624;
  left: -11rem;
  top: -0.95em;
}
.container .wheel .spokes {
  position: absolute;
  top: 0.25rem;
  left: 2.85rem;
  width: 0.3rem;
  height: 5.5rem;
  animation: wheelSpin 2.5s linear infinite;
}
.container .wheel .spokes .spoke {
  position: absolute;
  top: 0;
  width: inherit;
  height: inherit;
  background-color: #fff;
}
.container .wheel .spokes .spoke:nth-of-type(1) {
  transform: rotate(calc(30deg * 1));
}
.container .wheel .spokes .spoke:nth-of-type(2) {
  transform: rotate(calc(30deg * 2));
}
.container .wheel .spokes .spoke:nth-of-type(3) {
  transform: rotate(calc(30deg * 3));
}
.container .wheel .spokes .spoke:nth-of-type(4) {
  transform: rotate(calc(30deg * 4));
}
.container .wheel .spokes .spoke:nth-of-type(5) {
  transform: rotate(calc(30deg * 5));
}
.container .wheel .spokes .spoke:nth-of-type(6) {
  transform: rotate(calc(30deg * 6));
}

.test {
  margin-top: -150px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.test #taichi {
  position: relative;
  width: 500px;
  height: 500px;
  background: red;
  border-radius: 50%;
  border: 1px solid white;
  background: linear-gradient(90deg, red 50%, blue 50%);
  cursor: pointer;
}
.test #taichi:hover {
  animation: rotate 2s linear infinite;
}
.test #taichi::before, .test #taichi::after {
  content: "";
  position: absolute;
  width: 249px;
  height: 249px;
  border-radius: 50%;
  left: 124.5px;
}
.test #taichi::before {
  top: 0;
  background: radial-gradient(blue 20%, red 20%);
}
.test #taichi::after {
  bottom: 0;
  background: radial-gradient(red 20%, blue 20%);
}
.test strong {
  font-size: 40px;
  color: rgba(0, 0, 0, 0);
  background: repeating-radial-gradient(#000 0 0.0001%, #fff 0 0.0002%) 50% 0/2500px 2500px, repeating-conic-gradient(#000 0 0.0001%, #fff 0 0.0002%) 50% 50%/2500px 2500px;
  background-blend-mode: difference;
  mix-blend-mode: lighten;
  -webkit-background-clip: text;
          background-clip: text;
}

@keyframes wheelSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(1turn);
  }
}
@keyframes pedalSpin {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}